package com.hntest.dao;

import com.hntest.entity.BidRequest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 贷款借钱 Dao
 */
@Mapper
@Repository
public interface BidRequestDao {
    public int getCounts(BidRequest bidRequest);

    //后台审核 分页查当页数据
    public List<BidRequest> getListByPage(Map map);

    //后台审核 分页查当页数据
    public List<BidRequest> getListByPage1(Map map);

    //后台审核 分页查当页数据
    public List<BidRequest> getListByPage2(Map map);

    //根据id查记录
    public BidRequest getBidRequestById(int bid);

    //审核
    public int update(BidRequest bidRequest);

}